package com.example.permissionservice.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户角色关系实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserRole {
    /**
     * 自增主键
     */
    private Long id;
    /**
     * 用户ID
     */
    private Long userId;
    /**
     * 角色ID
     */
    private Integer roleId;
} 